package io.renren.sf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.renren.sf.vo.SelectedCopyingExamplesCharacterVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * 
 * @author txw_cyl
 * @email sunlightcs@gmail.com
 * @date 2023-05-09 14:41:39
 */
@Data
@TableName("hz_copybook_character")
public class HzCopybookCharacterEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 字帖字id
	 */
	@TableId(type = IdType.ID_WORKER)
	@ApiModelProperty(value = "字帖字id", dataType = "Long")
	private Long id;
	/**
	 * 字帖字名称
	 */
	@ApiModelProperty(value = "字帖字名称", dataType = "String")
	private String copybookCharacterName;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", dataType = "Date")
	private Date createtime;

	/**
	 *	字帖字信息list
	 */
	@ApiModelProperty(value = "字帖字信息list", dataType = "List<HzCopybookCharacterInformationEntity>")
	@TableField(exist = false)
	List<HzCopybookCharacterInformationEntity> coChrInformationList;

	public HzCopybookCharacterEntity() {
	}

	public HzCopybookCharacterEntity(String copybookCharacterName, Date createtime) {
		this.copybookCharacterName = copybookCharacterName;
		this.createtime = createtime;
	}

	public HzCopybookCharacterEntity(Long id, String copybookCharacterName) {
		this.id = id;
		this.copybookCharacterName = copybookCharacterName;
	}
}
